package com.mspbots.core.script.model;

import com.fasterxml.jackson.databind.JsonNode;
import com.mspbots.core.BaseEntity;
import com.mspbots.core.enums.ScriptLanguageEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * com.mspbots.core.script.model.SystemScript
 *
 * @author Jason
 * @date 2019/12/25
 **/
@Data
public class SystemScript extends BaseEntity {

    private Long botId;
    private String name;
    private String context;
    private String scope;
    private String triggerEvent;
    private LocalDateTime createTime;
    private Boolean enable;
    private ScriptLanguageEnum language;
    private JsonNode paramsValue;
    private String paramsJson;
    private String version;
    private Boolean applyTenant;
    private String auth;
    private LocalDateTime updateTime;
    private String description;
    private Boolean disable;
}
